# 安装requests
# pip  install requests
# 使用镜像  清华源  pyp


import requests
query =input("输入搜索的内容")

#url ='https://cn.bing.com/search?q='+query
url =f'https://cn.bing.com/search?q={query}'

resp=requests.get(url)
print(resp.text)

